//
//  UIView+QTTouchBlock.h
//  QTCategory
//
//  Created by 张俊博 on 2017/2/8.
//  Copyright © 2017年 CISDI. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^QTTouchesBeganBlock)(NSSet *touches, UIEvent *event);
typedef void (^QTTouchesMovedBlock)(NSSet *touches, UIEvent *event);
typedef void (^QTTouchesEndedBlock)(NSSet *touches, UIEvent *event);
typedef void (^QTTouchesCancelledBlock)(NSSet *touches, UIEvent *event);

@interface UIView (QTTouchBlock)

@property (nonatomic, copy) QTTouchesBeganBlock touchesBeganBlock;
@property (nonatomic, copy) QTTouchesMovedBlock touchesMovedBlock;
@property (nonatomic, copy) QTTouchesEndedBlock touchesEndedBlock;
@property (nonatomic, copy) QTTouchesCancelledBlock touchesCancelledBlock;

@property (nonatomic, assign) UIEdgeInsets touchExtendInset;

@end
